package projectg06.grafosmm;

import java.util.Comparator;

public class NodoComparator implements Comparator<Nodo> {

	@Override
	public int compare(Nodo o1, Nodo o2) {
		if (o1.random < o2.random)
			return -1;
		if (o1.random > o2.random)
			return 1;
		return 0;
	}

}
